package com.czy.owner.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by wangyang on 2017/4/19 0019.
 */

public class MyPackageCardProjectDetailModel implements Serializable{


    /**
     * note : AAAAAAAAAAAAAAAAA
     * originalPrice : 12
     * buyTime : 1490341142348
     * storeId : 449
     * packageType : store
     * userPackageItemList : [{"itemId":"2219","itemName":"服务4","itemType":"service","price":5,"count":1,"logo":"未设置","userPackageItemId":762,"totalCount":1,"userPackageId":293,"status":"normal"},{"itemId":"2220","itemName":"服务6","itemType":"service","price":7,"count":1,"logo":"未设置","userPackageItemId":763,"totalCount":1,"userPackageId":293,"status":"normal"}]
     * userPackageId : 293
     * servicePackageId : 551
     * userOrderId : 5392
     * buyUserId : 1030
     * price : 10
     * logo : http://dev.daishucgj.com/res/download/9394
     * startTime : 0
     * packageName : 套餐A
     * endTime : 0
     * status : normal
     */

    private String note;
    private double originalPrice;
    private long buyTime;
    private int storeId;
    private String packageType;
    private int userPackageId;
    private int servicePackageId;
    private int userOrderId;
    private int buyUserId;
    private double price;
    private String logo;
    private long startTime;
    private String packageName;
    private long endTime;
    private String status;
    private List<UserPackageItemListBean> userPackageItemList;
    private double giveAmount;

    public double getGiveAmount() {
        return giveAmount;
    }

    public void setGiveAmount(double giveAmount) {
        this.giveAmount = giveAmount;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public double getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(double originalPrice) {
        this.originalPrice = originalPrice;
    }

    public long getBuyTime() {
        return buyTime;
    }

    public void setBuyTime(long buyTime) {
        this.buyTime = buyTime;
    }

    public int getStoreId() {
        return storeId;
    }

    public void setStoreId(int storeId) {
        this.storeId = storeId;
    }

    public String getPackageType() {
        return packageType;
    }

    public void setPackageType(String packageType) {
        this.packageType = packageType;
    }

    public int getUserPackageId() {
        return userPackageId;
    }

    public void setUserPackageId(int userPackageId) {
        this.userPackageId = userPackageId;
    }

    public int getServicePackageId() {
        return servicePackageId;
    }

    public void setServicePackageId(int servicePackageId) {
        this.servicePackageId = servicePackageId;
    }

    public int getUserOrderId() {
        return userOrderId;
    }

    public void setUserOrderId(int userOrderId) {
        this.userOrderId = userOrderId;
    }

    public int getBuyUserId() {
        return buyUserId;
    }

    public void setBuyUserId(int buyUserId) {
        this.buyUserId = buyUserId;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<UserPackageItemListBean> getUserPackageItemList() {
        return userPackageItemList;
    }

    public void setUserPackageItemList(List<UserPackageItemListBean> userPackageItemList) {
        this.userPackageItemList = userPackageItemList;
    }

    public static class UserPackageItemListBean {
        /**
         * itemId : 2219
         * itemName : 服务4
         * itemType : service
         * price : 5
         * count : 1
         * logo : 未设置
         * userPackageItemId : 762
         * totalCount : 1
         * userPackageId : 293
         * status : normal
         * specName
         */

        private String itemId;
        private String itemName;
        private String itemType;
        private double price;
        private int count;
        private String logo;
        private int userPackageItemId;
        private int totalCount;
        private int userPackageId;
        private String status;
        private String specName;
        private boolean unlimitedCount;//是否无限次

        public boolean isUnlimitedCount() {
            return unlimitedCount;
        }

        public void setUnlimitedCount(boolean unlimitedCount) {
            this.unlimitedCount = unlimitedCount;
        }

        public String getSpecName() {
            return specName;
        }

        public void setSpecName(String specName) {
            this.specName = specName;
        }

        public String getItemId() {
            return itemId;
        }

        public void setItemId(String itemId) {
            this.itemId = itemId;
        }

        public String getItemName() {
            return itemName;
        }

        public void setItemName(String itemName) {
            this.itemName = itemName;
        }

        public String getItemType() {
            return itemType;
        }

        public void setItemType(String itemType) {
            this.itemType = itemType;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public int getUserPackageItemId() {
            return userPackageItemId;
        }

        public void setUserPackageItemId(int userPackageItemId) {
            this.userPackageItemId = userPackageItemId;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public int getUserPackageId() {
            return userPackageId;
        }

        public void setUserPackageId(int userPackageId) {
            this.userPackageId = userPackageId;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }
    }
}
